# 导包
import x.lang.system
# 设置别名为 http
import x.lang.http as http

# GET 请求
http.get("/hello", "text/plain", "Hello, World!")

# 监听端口
http.listen("localhost", 8888, () -> {
    println("Server started at localhost:8888")
})
